/* eslint-disable vue/no-unused-components */
<template>
  <div class="content-wrapper">
     <!-- <div class="content-header"></div> -->
     <!-- <div class="title"> -->
     <!-- <div>新增流程({{this.title}})</div> -->
     <!-- <div class="input" v-if="documentCode"><i>文件编号:</i>  
      <i>{{this.documentCode}}</i>
      </div> -->
     <!-- </div> -->
   <!-- <el-divider></el-divider> -->
    <div class="content-container">
      <!-- <el-tabs v-model="activeName">
        <el-tab-pane > -->
      <FlowData @flowData="flowData" />
      <!-- </el-tab-pane> -->
      <!-- <el-tab-pane label="工作流" name="flow_workflow">
          <FlowWorkflow />
        </el-tab-pane> -->
      <!-- </el-tabs> -->
    </div>
  </div>
</template>

<script>
import FlowData from '@/views/flow/flow_new/flow_data'
import flowStatusOptions from '@/views/flow/js/flowDictNew.js'
import '@/styles/flow.scss'

export default {
  components: {
    FlowData,
  },
  data() {
    return {
      activeName: 'flow_data',
      flowStatus: '',
      documentCode: '',
      title: ''

    }
  },
  mounted() {
    // console.log(flowStatusOptions,permissionList, 'flowStatusList')
  },
  methods: {
    flowData(data) {
      this.documentCode = data.documentCode
      this.flowStatus = data.flowStatus
      // this.title = flowStatusOptions[this.flowStatus - 1].label
    }
  }
}
</script>

<style lang="scss" scoped>

</style>
